<?xml version="1.0" encoding="UTF-8" ?> 
<Module>
  <ModulePrefs title="SmartVault" /> 
  <Content type="html">
     <![CDATA[ 
       <script src="https://ejp-sv-testproj.googlecode.com/hg/ZeroClipboard.min.js"></script>
       <button id="d_clip_button" data-clipboard-text="https://my.smartvault.com/users/secure/PreviewFile.aspx?d=sLSo0Dio4EiCjt6hanVw8Q" >Get Link</button>
       
       <script>

         ZeroClipboard.setDefaults({ moviePath: 'https://ejp-sv-testproj.googlecode.com/hg/ZeroClipboard.swf' });
         ZeroClipboard.setDefaults({  trustedOrigins: [window.location.protocol + "//" + window.location.host]  });
                  
         var clip = new ZeroClipboard(document.getElementById('d_clip_button'));
         clip.on('complete', function (client, args) {
           alert("Copied text to clipboard: " + args.text);
         });     
      
       </script>
            
     ]]>
  </Content> 
</Module>